package com.demo.admin.domain.result;

import java.util.*;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Getter;
import lombok.Setter;

/**
 * OauthTokenResult
 * 
 * @author demo
 * @data 2022-02-26 22:39:20
 */
@Getter
@Setter
public class OauthTokenResult {
    /** token */
    private String accessToken;
    /** token过期时间 */
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date expiredTime;
}
